import request  from "@/http/request.js"

export function selectTagList(data){
    return request({
        url:'/tag/selectTags?classifyId='+data,
        method:'get'
    })
}

export function selectClassifyList(data){
    return request({
        url:'/classify/selectClassifyList?type='+data,
        method:'get'
    })
}

export function insertTag(data){
    return request({
        url:'/tag/insertTags',
        method:'post',
        data:data
    })
}

export function selectPageTags(data){
    return request({
        url: '/tag/selectPageTags',
        method:'post',
        data
    })
}